package com.ks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("metric_data")
public class MetricData {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String metric;
    private String instanceId;
    private String hostname;
    private LocalDateTime timestamp;
    private Double value;
}
